package org.zn.etl.job.entity;

import java.util.List;

import org.apache.commons.lang3.tuple.Pair;
import org.zn.datax.common.entity.ColumnInfo;
import org.zn.datax.common.entity.TableInfo;

import lombok.Data;

@Data
public class DataMapping {
	
	private Long id;
	private TableInfo sourceTable;
	private String sourceSql;
	private String wapperPaged;
	
	private TableInfo targetTable;
	private String targetSql;
	
	private String dataTransformer;

	/**
	 * (source,target)
	 */
	private	List<Pair<ColumnInfo, ColumnInfo>> columnMappingPairs;
	
}
